package com.shop.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shop.pojo.LdbzAdminMenu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface LdbzAdminMenuMapper extends BaseMapper<LdbzAdminMenu> {

    long countByEntity(LdbzAdminMenu entity);
    int deleteByKeys(List<Long> ids);
    List<LdbzAdminMenu> getMenuTree();
    int deleteRoleMenuByKey(Long id);
    int deleteRoleMenuByKeys(List<Long> ids);
    List<LdbzAdminMenu> selectByEntity(LdbzAdminMenu entity ,int start ,int limit);
}
